package com.jbm.jbmsupplier.zp.FactouryActivity.FacturyChat;

/**
 * Created by 家帮忙 on 2017/7/12.
 */

public class FacturyChats {
    private SendText sendText=null;
    private Sendpic sendpic=null;
    public SendAllMassage setMessAge(String str){
    if (str.equals("text")){
        if (sendText==null){
            sendText=new SendText();
        }
       return sendText ;
    }else if (str.equals("pic")){
       if (sendpic==null){
           sendpic=new Sendpic();
       }
        return sendpic;
    }



    return null;
}







}
